package com.cqw.mapper.one;

import com.cqw.domain.LotteryRewardConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
*@Author: caoqingwen
*@CreateTime: 2021-04-28 14:02
*@Description: ${Description}
*/
public interface LotteryRewardConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LotteryRewardConfig record);

    int insertOrUpdate(LotteryRewardConfig record);

    int insertOrUpdateSelective(LotteryRewardConfig record);

    int insertSelective(LotteryRewardConfig record);

    LotteryRewardConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LotteryRewardConfig record);

    int updateByPrimaryKey(LotteryRewardConfig record);

    int updateBatch(List<LotteryRewardConfig> list);

    int updateBatchSelective(List<LotteryRewardConfig> list);

    int batchInsert(@Param("list") List<LotteryRewardConfig> list);


    List<LotteryRewardConfig> selectAllByCondition(LotteryRewardConfig lotteryRewardConfig);
}